<template>
	<div class="game-other">
		<header-top :option="headerOption"></header-top>
		<base-info :pageStatus='page'></base-info>
		<current-position></current-position>
		<otherdetail-footer></otherdetail-footer>


	</div>
</template>

<script>
	import HeaderTop from 'components/HeaderTop'
	import BaseInfo from 'components/game/selfdetail/BaseInfo'
	import CurrentPosition from 'components/game/otherdetail/CurrentPosition'
	import OtherDetailFooter from 'components/game/otherdetail/OtherDetailFooter'
	import Constant from 'common/constant'

	/**
       * 参数：
       * userCode  他人的usercode  必传
       * gameId  比赛id  必传
       * gameName  比赛名称   必传
       *
       * 调用示例：
       * this.$router.push({path: '/game/gameotherdetail', query: {userCode : this.userCode , gameId : this.gameId ,gameName : this.gameName}})
    */
	export default {
    	data () {
      		return {
        		headerOption: {
          			title: this.$route.query.gameName,
          			operations: [Constant.operation.REFRESH],
          			page:Constant.page.SHARE_SELF_DETAILS
        		},
        		page: 'other'
      		}
    	},
    	components: {
    		'header-top': HeaderTop,
      		'base-info': BaseInfo,
      		'current-position' : CurrentPosition,
      		'otherdetail-footer' : OtherDetailFooter
    	},
    	created: function () {
    	},
    	methods: {

        }
  	}
</script>

<style>
	.game-other{
		background-color: #fff;
	}
</style>
